	<div class="head_gd_web">
    	<h4>Giao diện Website công ty</h4>
    </div>
	<div class="gd_web">
		<ul>
		<?php foreach ($this->allDesign as $k=>$v):?>
		<?php $n = $k + 1?>
            <?php if($n % 4 == 0):?>
            <li class="last">
				<a class="lb lb_web_ct" href="<?php echo $v["PHOTO_IMG"]?>" title="Giao diện Website công ty - <?php echo $v["PHOTO_NAME"]?>"><img src="<?php echo$v["PHOTO_IMG"]?>" alt="Website" title="<?php echo $v["PHOTO_NAME"]?>" /></a><br />
                <span class="ms_web"><?php echo $v["PHOTO_NAME"]?></span>
			</li>
			<?php else:?>
			<li>
                <a class="lb lb_web_ct" href="<?php echo $v["PHOTO_IMG"]?>" title="Giao diện Website công ty - <?php echo $v["PHOTO_NAME"]?>"><img src="<?php echo$v["PHOTO_IMG"]?>" alt="Website" title="Giao diện Website công ty<?php echo $v["PHOTO_NAME"]?>" /></a><br />
                <span class="ms_web"><?php echo $v["PHOTO_NAME"]?></span>
            </li>
			<?php endif; endforeach;?>
            
        </ul>
		<script type="text/javascript">
			$('.web_ct').click(function(){
			
			});
			
			jQuery(function($) {

				var $chosenSheet,
				$stylesheets = $( "a[id^=theme-]" );
				
				// theme switcher
				$stylesheets.click(
				function() {
					$chosenSheet = $( this ).attr( "href" );
					$( "#theme").attr( "href", $chosenSheet );
					// mark this A as an active
					$stylesheets.removeClass( "active" );
					$( this ).addClass( "active" );
					return false;
				}
				);			
				// run rlightbox
				$( ".lb" ).rlightbox();
				$( ".lb_title-overwritten" ).rlightbox({overwriteTitle: true});
			});	
			
			</script>
	</div><!--End .gd_web-->